package com.mvc.mapper;

import com.mvc.entity.Order;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * @ClassName OrderMapper
 * @Description TODO
 * @Author Gla
 * @Date 2021/12/1 21:44
 * @Version 1.0
 **/
public interface OrderMapper {
    /**
     * @MethodName listSearch
     * @Description TODO 
     * @Param startRow
     * @Param limit
     * @Param userId
     * @Param receiverName 
     * @Return java.util.List<com.mvc.entity.Order>
     * @Author Gla
     * @Date 2021/12/2 9:52
     **/
    List<Order> listSearch(@Param(value = "startRow") Integer startRow,@Param(value = "limit") Integer limit,
                           @Param(value = "shippingNum") String shippingNum,@Param(value = "receiver_name") String receiver_name);

    /**
     * @MethodName getConut
     * @Description TODO 
     * @Param userId
     * @Param receiverName 
     * @Return java.lang.Integer
     * @Author Gla
     * @Date 2021/12/2 9:52
     **/
    Integer getCount(@Param(value = "shippingNum") String shippingNum,@Param(value = "receiver_name") String receiver_name);


}
